
<%@page pageEncoding="utf-8"
contentType="text/html; charset=utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!--<%@page import="entity.*,java.util.*" %>-->

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title>权限管理-角色管理</title>
<link rel="stylesheet" href="resources/static/css/pintuer.css">
<link rel="stylesheet" href="resources/static/css/admin.css">
<script src="resources/static/js/jquery.js"></script>
<script src="resources/static/js/pintuer.js"></script>
<!-- 引入.js -->
<script type="text/javascript"
		  src="resources/static/js/basevalue.js"></script>
<script type="text/javascript"
		  src="resources/static/js/role_update.js"></script>

</head>
<body>
<div class="panel admin-panel margin-top" id="add">
  <div class="panel-head"><strong><span class="icon-pencil-square-o"></span> 角色权限管理</strong></div>
  <div class="body-content">
   <form method="post" class="form-x" action="">   
      <div class="form-group">
        <div class="label">
          <label>角色：</label>
        </div>
        <div class="field">
          <input type="text" id="rolename" class="input w50" value="${role.rolename}" name="title" data-validate="required:角色" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>请选择类别：</label>
        </div>
        <div class="field">
          <div class="radio">
            <input type="checkbox" class="margin-big-left" name="optionsRadios" id="isread" value="option1" >阅读
            <input type="checkbox" class="margin-big-left" name="optionsRadios" id="" value="option2" >下载
          </div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <input type="hidden" id="roleid_hidden" name="id" value="${role.roleid}"/>
          <input type="hidden" id="isread_hidden" name="id" value="${role.isread}"/> 
          <input type="hidden" id="isdown_hidden" name="id" value="${role.isdown}"/>
          <button id="sure" class="button bg-main" type="button"> 确定</button>
          <!-- <input type="button" id="sure"  class="button bg-main" value="确定" /> -->
        </div>
      </div>
   </form>
  </div>
</div>
</body></html>